home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / xml.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  4KB  |  169 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  4.  
  5. <MODE>
  6.     <PROPS>
  7.         <PROPERTY NAME="commentStart" VALUE="<!--" />
  8.         <PROPERTY NAME="commentEnd" VALUE="-->" />
  9.     </PROPS>
  10.     <RULES>
  11.         <!-- SGML comment -->
  12.         <SPAN TYPE="COMMENT1">
  13.             <BEGIN><!--</BEGIN>
  14.             <END>--></END>
  15.         </SPAN>
  16.  
  17.         <!-- DTD Entity declarations -->
  18.         <SPAN TYPE="KEYWORD2" DELEGATE="ENTITY-TAGS">
  19.             <BEGIN><!ENTITY</BEGIN>
  20.             <END>></END>
  21.         </SPAN>
  22.  
  23.         <!-- CDATA sections -->
  24.         <SPAN TYPE="KEYWORD2" DELEGATE="CDATA">
  25.             <BEGIN><![CDATA[</BEGIN>
  26.             <END>]]></END>
  27.         </SPAN>
  28.  
  29.         <!-- DTD instructions -->
  30.         <SPAN TYPE="KEYWORD2" DELEGATE="DTD-TAGS">
  31.             <BEGIN><!</BEGIN>
  32.             <END>></END>
  33.         </SPAN>
  34.  
  35.         <!-- PI directives -->
  36.         <SPAN TYPE="KEYWORD3">
  37.             <BEGIN><?</BEGIN>
  38.             <END>></END>
  39.         </SPAN>
  40.  
  41.         <!-- markup tags -->
  42.         <SPAN TYPE="MARKUP" DELEGATE="TAGS">
  43.             <BEGIN><</BEGIN>
  44.             <END>></END>
  45.         </SPAN>
  46.  
  47.         <!-- SGML entities -->
  48.         <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
  49.             <BEGIN>&</BEGIN>
  50.             <END>;</END>
  51.         </SPAN>
  52.     </RULES>
  53.     <RULES SET="TAGS" DEFAULT="MARKUP" NO_WORD_SEP="-_">
  54.         <!-- SGML comment -->
  55.         <SPAN TYPE="COMMENT1">
  56.             <BEGIN><!--</BEGIN>
  57.             <END>--></END>
  58.         </SPAN>
  59.  
  60.         <SPAN TYPE="LITERAL1" DELEGATE="STRING">
  61.             <BEGIN>"</BEGIN>
  62.             <END>"</END>
  63.         </SPAN>
  64.  
  65.         <SPAN TYPE="LITERAL1" DELEGATE="STRING">
  66.             <BEGIN>'</BEGIN>
  67.             <END>'</END>
  68.         </SPAN>
  69.  
  70.         <SEQ TYPE="MARKUP">/</SEQ>
  71.         <MARK_PREVIOUS TYPE="LABEL" MATCH_TYPE="OPERATOR">:</MARK_PREVIOUS>
  72.     </RULES>
  73.     <RULES SET="DTD-TAGS" DEFAULT="KEYWORD2" IGNORE_CASE="FALSE">
  74.         <!-- SGML comment -->
  75.         <SPAN TYPE="COMMENT1">
  76.             <BEGIN><!--</BEGIN>
  77.             <END>--></END>
  78.         </SPAN>
  79.  
  80.         <!-- SGML comment -->
  81.         <SPAN TYPE="COMMENT1">
  82.             <BEGIN>--</BEGIN>
  83.             <END>--</END>
  84.         </SPAN>
  85.  
  86.         <!-- Parameter entities -->
  87.         <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
  88.             <BEGIN>%</BEGIN>
  89.             <END>;</END>
  90.         </SPAN>
  91.  
  92.         <SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">
  93.             <BEGIN>"</BEGIN>
  94.             <END>"</END>
  95.         </SPAN>
  96.  
  97.         <SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">
  98.             <BEGIN>'</BEGIN>
  99.             <END>'</END>
  100.         </SPAN>
  101.  
  102.         <!-- This appears in some SGML documents -->
  103.         <SPAN TYPE="KEYWORD2" DELEGATE="MAIN">
  104.             <BEGIN>[</BEGIN>
  105.             <END>]</END>
  106.         </SPAN>
  107.  
  108.         <SEQ TYPE="OPERATOR">(</SEQ>
  109.         <SEQ TYPE="OPERATOR">)</SEQ>
  110.         <SEQ TYPE="OPERATOR">|</SEQ>
  111.         <SEQ TYPE="OPERATOR">?</SEQ>
  112.         <SEQ TYPE="OPERATOR">*</SEQ>
  113.         <SEQ TYPE="OPERATOR">+</SEQ>
  114.         <SEQ TYPE="OPERATOR">,</SEQ>
  115.  
  116.         <KEYWORDS>
  117.             <KEYWORD1>CDATA</KEYWORD1>
  118.             <KEYWORD1>EMPTY</KEYWORD1>
  119.             <KEYWORD1>INCLUDE</KEYWORD1>
  120.             <KEYWORD1>IGNORE</KEYWORD1>
  121.             <KEYWORD1>NDATA</KEYWORD1>
  122.             <KEYWORD1>#IMPLIED</KEYWORD1>
  123.             <KEYWORD1>#PCDATA</KEYWORD1>
  124.             <KEYWORD1>#REQUIRED</KEYWORD1>
  125.         </KEYWORDS>
  126.     </RULES>
  127.      <RULES SET="STRING" DEFAULT="LITERAL1">
  128.          <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
  129.              <BEGIN>&</BEGIN>
  130.              <END>;</END>
  131.          </SPAN>
  132.      </RULES>
  133.      <!-- }}} -->
  134.     <RULES SET="ENTITY-TAGS" DEFAULT="KEYWORD2">
  135.         <!-- SGML comment -->
  136.         <SPAN TYPE="COMMENT1">
  137.             <BEGIN><!--</BEGIN>
  138.             <END>--></END>
  139.         </SPAN>
  140.  
  141.         <!-- SGML comment -->
  142.         <SPAN TYPE="COMMENT1">
  143.             <BEGIN>--</BEGIN>
  144.             <END>--</END>
  145.         </SPAN>
  146.  
  147.         <SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">
  148.             <BEGIN>"</BEGIN>
  149.             <END>"</END>
  150.         </SPAN>
  151.  
  152.         <SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">
  153.             <BEGIN>'</BEGIN>
  154.             <END>'</END>
  155.         </SPAN>
  156.  
  157.         <SEQ TYPE="OPERATOR">=</SEQ>
  158.  
  159.         <SEQ TYPE="OPERATOR">%</SEQ>
  160.  
  161.         <KEYWORDS>
  162.             <KEYWORD1>SYSTEM</KEYWORD1>
  163.         </KEYWORDS>
  164.     </RULES>
  165.     <RULES SET="CDATA" DEFAULT="COMMENT2">
  166.         <!-- no rules -->
  167.     </RULES>
  168. </MODE>
  169.